'use strict';

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.setViewport({
    width: 1366,
    height: 768
  });
  await page.goto('https://analytics.zhihuiya.com/');
  await page.screenshot({
    path: 'zhihuiya.png',
    fullPage: true
  });

  await browser.close();
})();